package com.yc.cinema.web;

import com.yc.cinema.bean.User;
import com.yc.cinema.biz.CommentsBiz;
import com.yc.cinema.biz.UserBiz;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class UserAction {

	@Resource(name="userBiz")
	private UserBiz ubiz;

	@Resource
	private CommentsBiz cbiz;

	public UserBiz getUbiz() {
		return ubiz;
	}

	public void setUbiz(UserBiz ubiz) {
		this.ubiz = ubiz;
	}

	public CommentsBiz getCbiz() {
		return cbiz;
	}

	public void setCbiz(CommentsBiz cbiz) {
		this.cbiz = cbiz;
	}

	public void login(String user, String pwd){
		System.out.println("登录");
	}

	public void register(User user){
		System.out.println("注册");
	}
}
